<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    'use strict'
    var user = {
        name: "lucien",
        age: 22,
        sex: '男',
        run: function () {
            console.log(this.name + " run...");
        }
    };

    let xiaoming = {
        name: "xiaoming"
    };

    // 原型继承，小明的原型是 user
    xiaoming.__proto__ = user;

</script>

</body>
</html>